package cn.song.enums;

public enum ErrorEnum {

    SUCCESS(0,"SUCCESS"),
    XIAO_SCHOOL(100,"你在上小学"),
    MIDDLE_SCHOOL(101,"你在中学"),
    ERROR_OS(-1,"系统错误");


    private Integer code;

    private String message;

    ErrorEnum(Integer code, String message) {
        this.code = code;
        this.message = message;
    }

    public Integer getCode() {
        return code;
    }


    public String getMessage() {
        return message;
    }
}
